package com.hifar.test.equituit.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hifar.plat.AopOption.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("HF_RES_EQUIP_UNIT")
@ApiModel(value = "HfResEquipUnit对象", description = "设备-项目-关闭表")
public class EquipUnitSearchVo {


    private static final long serialVersionUID = 1L;


    /**
     * 设备名称
     */
    @Excel(name = "设备名称", sort = 1)
    @ApiModelProperty(value = "设备名称")
    @TableField("EQUIP_NAME")
    @JSONField(name = "equipName")
    private String equipName;

    /**
     * 设备型号
     */
    @Excel(name = "设备型号", sort = 1)
    @ApiModelProperty(value = "设备型号")
    @TableField("EQUIP_MODEL")
    @JSONField(name = "equipModel")
    private String equipModel;

    /**
     * 设备编号
     */
    @Excel(name = "设备编号", sort = 1)
    @ApiModelProperty(value = "设备编号")
    @TableField("EQUIP_CODE")
    @JSONField(name = "equipCode")
    private String equipCode;


    /**
     * 检查项目名称
     */
    @Excel(name = "检查项目名称", sort = 1)
    @ApiModelProperty(value = "检查项目名称")
    @TableField("UNIT_NAME")
    @JSONField(name = "unitName")
    private String unitName;


    /**
     * 检查项目编号
     */
    @Excel(name = "检查项目编号", sort = 1)
    @ApiModelProperty(value = "检查项目编号")
    @TableField("UNIT_CODE")
    @JSONField(name = "unitCode")
    private String unitCode;


    /**
     * 规格
     */
    @Excel(name = "规格", sort = 1)
    @ApiModelProperty(value = "规格")
    @TableField("SPECIFICATION")
    @JSONField(name = "specification")
    private String specification;


    /**
     * ID
     */
    @Excel(name = "ID", sort = 1)
    @ApiModelProperty(value = "ID")
    @TableId("ID")
    @JSONField(name = "id")
    private String id;


    /**
     * 0未删除1已删除
     */
    @Excel(name = "0未删除1已删除", sort = 1)
    @ApiModelProperty(value = "0未删除1已删除")
    @TableLogic
    @JSONField(name = "delFlag")
    private Integer delFlag;


    /**
     * 状态
     */
    @Excel(name = "状态", sort = 1)
    @ApiModelProperty(value = "状态")
    @TableField("STATUS")
    @JSONField(name = "status")
    private Integer status;


    /**
     * 更新时间
     */
    @Excel(name = "更新时间", sort = 1)
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "UPDATE_TIME", fill = FieldFill.INSERT_UPDATE)
    @JSONField(name = "updateTime")
    private Date updateTime;


    /**
     * 设备ID
     */
    @Excel(name = "设备ID", sort = 1)
    @ApiModelProperty(value = "设备ID")
    @TableField("EQUIP_ID")
    @JSONField(name = "equipId")
    private String equipId;


    /**
     * 备注
     */
    @Excel(name = "备注", sort = 1)
    @ApiModelProperty(value = "备注")
    @TableField("REMARKS")
    @JSONField(name = "remarks")
    private String remarks;


    /**
     * 更新用户ID
     */
    @Excel(name = "更新用户ID", sort = 1)
    @ApiModelProperty(value = "更新用户ID")
    @TableField(value = "UPDATE_USER_ID", fill = FieldFill.INSERT_UPDATE)
    @JSONField(name = "updateUserId")
    private String updateUserId;


    /**
     * 排序
     */
    @Excel(name = "排序", sort = 1)
    @ApiModelProperty(value = "排序")
    @TableField("ROW_SORT")
    @JSONField(name = "rowSort")
    private Integer rowSort;


    /**
     * 创建用户名称
     */
    @Excel(name = "创建用户名称", sort = 1)
    @ApiModelProperty(value = "创建用户名称")
    @TableField(value = "CREATE_USER_NAME", fill = FieldFill.INSERT)
    @JSONField(name = "createUserName")
    private String createUserName;


    /**
     * 创建用户ID
     */
    @Excel(name = "创建用户ID", sort = 1)
    @ApiModelProperty(value = "创建用户ID")
    @TableField(value = "CREATE_USER_ID", fill = FieldFill.INSERT)
    @JSONField(name = "createUserId")
    private String createUserId;


    /**
     * 密级
     */
    @Excel(name = "密级", sort = 1)
    @ApiModelProperty(value = "密级")
    @TableField("SECRET_LEVEL")
    @JSONField(name = "secretLevel")
    private Integer secretLevel;


    /**
     * 创建时间
     */
    @Excel(name = "创建时间", sort = 1)
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    @JSONField(name = "createTime")
    private Date createTime;


    /**
     * 项目ID
     */
    @Excel(name = "项目ID", sort = 1)
    @ApiModelProperty(value = "项目ID")
    @TableField("UNIT_ID")
    @JSONField(name = "unitId")
    private String unitId;


    /**
     * 更新用户名称
     */
    @Excel(name = "更新用户名称", sort = 1)
    @ApiModelProperty(value = "更新用户名称")
    @TableField(value = "UPDATE_USER_NAME", fill = FieldFill.INSERT_UPDATE)
    @JSONField(name = "updateUserName")
    private String updateUserName;


    /**
     * 部门id
     */
    @Excel(name = "部门id", sort = 1)
    @ApiModelProperty(value = "部门id")
    @TableField("DEPT_ID")
    @JSONField(name = "deptId")
    private String deptId;


    /**
     * 租户ID
     */
    @Excel(name = "租户ID", sort = 1)
    @ApiModelProperty(value = "租户ID")
    @TableField(value = "TENANT_ID", fill = FieldFill.INSERT)
    @JSONField(name = "tenantId")
    private String tenantId;


}
